package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research_data")
public class MbResearchData extends Model<MbResearchData> {

    private static final long serialVersionUID = 1L;

	@TableId(value="data_id", type= IdType.AUTO)
	private Long dataId;
    /**
     * 食欲指标分数
     */
	@TableField("mi_eat")
	private Integer miEat;
    /**
     * 精神指标分数
     */
	@TableField("mi_spirit")
	private Integer miSpirit;
    /**
     * 乏力指标分数
     */
	@TableField("mi_weak")
	private Integer miWeak;
    /**
     * 客观指标图片，多张图以“，”分割
     */
	@TableField("oi_img")
	private String oiImg;
    /**
     * 体重指标
     */
	@TableField("ai_weight")
	private Integer aiWeight;
    /**
     * 握力
     */
	@TableField("ai_grip")
	private Integer aiGrip;
    /**
     * 肱三头肌皮褶厚度
     */
	@TableField("ai_skinfold_thickness_of_triceps_brachii")
	private Integer aiSkinfoldThicknessOfTricepsBrachii;
    /**
     * 体脂率
     */
	@TableField("ai_body_fat_percentage")
	private Integer aiBodyFatPercentage;
    /**
     * 改良SGA评分
     */
	@TableField("ai_sga")
	private Integer aiSga;
    /**
     * DP-care风险评估
     */
	@TableField("ai_DP")
	private Integer aiDPcare;
    /**
     * 患者ID
     */
	@TableField("patient_id")
	private Long patientId;
    /**
     * 阶段ID
     */
	@TableField("res_step_id")
	private Long resStepId;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img1")
	private String dataImg1;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img2")
	private String dataImg2;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img3")
	private String dataImg3;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img4")
	private String dataImg4;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img5")
	private String dataImg5;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img6")
	private String dataImg6;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img7")
	private String dataImg7;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img8")
	private String dataImg8;
    /**
     * 大生化、电解质等图片
     */
	@TableField("data_img9")
	private String dataImg9;
    /**
     * 上传、更新时间
     */
	@TableField("data_img1_time")
	private Date dataImg1Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img2_time")
	private Date dataImg2Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img3_time")
	private Date dataImg3Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img4_time")
	private Date dataImg4Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img5_time")
	private Date dataImg5Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img6_time")
	private Date dataImg6Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img7_time")
	private Date dataImg7Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img8_time")
	private Date dataImg8Time;
    /**
     * 上传、更新时间
     */
	@TableField("data_img9_time")
	private Date dataImg9Time;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 关联医生ID
	 */
	@TableField("doc_id")
	private Long docId;


	/**
	 * 填写状态
	 */
	private Integer state;

	@TableField(exist = false)
	private String stepName;

	@TableField("start_time")
	private Date startTime;

	@TableField("end_time")
	private Date endTime;

	private String reason;

	public Long getDataId() {
		return dataId;
	}

	public void setDataId(Long dataId) {
		this.dataId = dataId;
	}

	public Integer getMiEat() {
		return miEat;
	}

	public void setMiEat(Integer miEat) {
		this.miEat = miEat;
	}

	public Integer getMiSpirit() {
		return miSpirit;
	}

	public void setMiSpirit(Integer miSpirit) {
		this.miSpirit = miSpirit;
	}

	public Integer getMiWeak() {
		return miWeak;
	}

	public void setMiWeak(Integer miWeak) {
		this.miWeak = miWeak;
	}

	public String getOiImg() {
		return oiImg;
	}

	public void setOiImg(String oiImg) {
		this.oiImg = oiImg;
	}

	public Integer getAiWeight() {
		return aiWeight;
	}

	public void setAiWeight(Integer aiWeight) {
		this.aiWeight = aiWeight;
	}

	public Integer getAiGrip() {
		return aiGrip;
	}

	public void setAiGrip(Integer aiGrip) {
		this.aiGrip = aiGrip;
	}

	public Integer getAiSkinfoldThicknessOfTricepsBrachii() {
		return aiSkinfoldThicknessOfTricepsBrachii;
	}

	public void setAiSkinfoldThicknessOfTricepsBrachii(Integer aiSkinfoldThicknessOfTricepsBrachii) {
		this.aiSkinfoldThicknessOfTricepsBrachii = aiSkinfoldThicknessOfTricepsBrachii;
	}

	public Integer getAiBodyFatPercentage() {
		return aiBodyFatPercentage;
	}

	public void setAiBodyFatPercentage(Integer aiBodyFatPercentage) {
		this.aiBodyFatPercentage = aiBodyFatPercentage;
	}

	public Integer getAiSga() {
		return aiSga;
	}

	public void setAiSga(Integer aiSga) {
		this.aiSga = aiSga;
	}

	public Integer getAiDPcare() {
		return aiDPcare;
	}

	public void setAiDPcare(Integer aiDPcare) {
		this.aiDPcare = aiDPcare;
	}

	public Long getPatientId() {
		return patientId;
	}

	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}

	public Long getResStepId() {
		return resStepId;
	}

	public void setResStepId(Long resStepId) {
		this.resStepId = resStepId;
	}

	public String getDataImg1() {
		return dataImg1;
	}

	public void setDataImg1(String dataImg1) {
		this.dataImg1 = dataImg1;
	}

	public String getDataImg2() {
		return dataImg2;
	}

	public void setDataImg2(String dataImg2) {
		this.dataImg2 = dataImg2;
	}

	public String getDataImg3() {
		return dataImg3;
	}

	public void setDataImg3(String dataImg3) {
		this.dataImg3 = dataImg3;
	}

	public String getDataImg4() {
		return dataImg4;
	}

	public void setDataImg4(String dataImg4) {
		this.dataImg4 = dataImg4;
	}

	public String getDataImg5() {
		return dataImg5;
	}

	public void setDataImg5(String dataImg5) {
		this.dataImg5 = dataImg5;
	}

	public String getDataImg6() {
		return dataImg6;
	}

	public void setDataImg6(String dataImg6) {
		this.dataImg6 = dataImg6;
	}

	public String getDataImg7() {
		return dataImg7;
	}

	public void setDataImg7(String dataImg7) {
		this.dataImg7 = dataImg7;
	}

	public String getDataImg8() {
		return dataImg8;
	}

	public void setDataImg8(String dataImg8) {
		this.dataImg8 = dataImg8;
	}

	public String getDataImg9() {
		return dataImg9;
	}

	public void setDataImg9(String dataImg9) {
		this.dataImg9 = dataImg9;
	}

	public Date getDataImg1Time() {
		return dataImg1Time;
	}

	public void setDataImg1Time(Date dataImg1Time) {
		this.dataImg1Time = dataImg1Time;
	}

	public Date getDataImg2Time() {
		return dataImg2Time;
	}

	public void setDataImg2Time(Date dataImg2Time) {
		this.dataImg2Time = dataImg2Time;
	}

	public Date getDataImg3Time() {
		return dataImg3Time;
	}

	public void setDataImg3Time(Date dataImg3Time) {
		this.dataImg3Time = dataImg3Time;
	}

	public Date getDataImg4Time() {
		return dataImg4Time;
	}

	public void setDataImg4Time(Date dataImg4Time) {
		this.dataImg4Time = dataImg4Time;
	}

	public Date getDataImg5Time() {
		return dataImg5Time;
	}

	public void setDataImg5Time(Date dataImg5Time) {
		this.dataImg5Time = dataImg5Time;
	}

	public Date getDataImg6Time() {
		return dataImg6Time;
	}

	public void setDataImg6Time(Date dataImg6Time) {
		this.dataImg6Time = dataImg6Time;
	}

	public Date getDataImg7Time() {
		return dataImg7Time;
	}

	public void setDataImg7Time(Date dataImg7Time) {
		this.dataImg7Time = dataImg7Time;
	}

	public Date getDataImg8Time() {
		return dataImg8Time;
	}

	public void setDataImg8Time(Date dataImg8Time) {
		this.dataImg8Time = dataImg8Time;
	}

	public Date getDataImg9Time() {
		return dataImg9Time;
	}

	public void setDataImg9Time(Date dataImg9Time) {
		this.dataImg9Time = dataImg9Time;
	}

	public Date getUpdateDate() {
		return updateTime;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateTime = updateDate;
	}

	public Integer getState() {
		return state;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getDocId() {
		return docId;
	}

	public void setDocId(Long docId) {
		this.docId = docId;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getStepName() {
		return stepName;
	}

	public void setStepName(String stepName) {
		this.stepName = stepName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	protected Serializable pkVal() {
		return this.dataId;
	}

	@Override
	public String toString() {
		return "MbResearchData{" +
			", dataId=" + dataId +
			", miEat=" + miEat +
			", miSpirit=" + miSpirit +
			", miWeak=" + miWeak +
			", oiImg=" + oiImg +
			", aiWeight=" + aiWeight +
			", aiGrip=" + aiGrip +
			", aiSkinfoldThicknessOfTricepsBrachii=" + aiSkinfoldThicknessOfTricepsBrachii +
			", aiBodyFatPercentage=" + aiBodyFatPercentage +
			", aiSga=" + aiSga +
			", aiDP-care=" + aiDPcare +
			", patientId=" + patientId +
			", resStepId=" + resStepId +
			", dataImg1=" + dataImg1 +
			", dataImg2=" + dataImg2 +
			", dataImg3=" + dataImg3 +
			", dataImg4=" + dataImg4 +
			", dataImg5=" + dataImg5 +
			", dataImg6=" + dataImg6 +
			", dataImg7=" + dataImg7 +
			", dataImg8=" + dataImg8 +
			", dataImg9=" + dataImg9 +
			", dataImg1Time=" + dataImg1Time +
			", dataImg2Time=" + dataImg2Time +
			", dataImg3Time=" + dataImg3Time +
			", dataImg4Time=" + dataImg4Time +
			", dataImg5Time=" + dataImg5Time +
			", dataImg6Time=" + dataImg6Time +
			", dataImg7Time=" + dataImg7Time +
			", dataImg8Time=" + dataImg8Time +
			", dataImg9Time=" + dataImg9Time +
			"}";
	}
}
